import { PrintComponentService, PrinterContainerComponent } from './templates/printcontainer.component';
import { SetPrinterComponent } from './setPrinter/setprinter.component';
import { PrinterDetailComponent } from './printerDetail/printerDetail.component';
import { AddPrinterComponent } from './addPrinter/addPrinter.component';
import { TestPrintComponent, TestPrintService } from './templates/testprint/testPrint.component';
import { SalesReceiptComponent, ReceiptPrintService } from './templates/salesreceipt/salesreceipt.component';
import { SharedModule } from './../../../shared.module';
import { PrinterComponent } from './printer.component';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

@NgModule({
    imports: [
        SharedModule
    ],
    declarations: [
        PrinterComponent,
        AddPrinterComponent,
        PrinterDetailComponent,
        SetPrinterComponent,
        TestPrintComponent,
        SalesReceiptComponent,
        PrinterContainerComponent
    ],
    providers: [
        PrintComponentService,
        TestPrintService,
        ReceiptPrintService
    ],
    exports: [PrinterContainerComponent],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})

export class PrinterModule {
    constructor() { }
}